﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

//1. 定义一个图书馆里系统里面的用户类；
//2. 在用户类中定义一个方法输出当前用户对象的信息；然后在主方法调用输出；
namespace OOP
{
    class Program
    {
        static void Main(string[] args)
        {
            图书管理系统();
        }

        private static void 图书管理系统()
        {
            Library_system b = new Library_system();
            b.BookName = "红楼梦";
            b.BookPrice = 49.9;
            b.ULogin = "abc";
            b.UPassword = "123";
            b.Press = "人民出版社";
            b.Address = "北京";
            b.Author = "曹雪芹";

            Console.WriteLine("用户名：" b.ULogin);
            Console.WriteLine("密码：" + b.UPassword);
            Console.WriteLine("书名："+ b.BookName);
            Console.WriteLine("作者：" + b.Author);
            Console.WriteLine("价格："+ b.BookPrice);
            Console.WriteLine("出版社：" + b.Press);
            Console.WriteLine("地址：" + b.Address);
           
        }

       
    }
}

      
            
